package commands

import (
	"bitwormhole.com/starter/cli"
	"github.com/bitwormhole/starter/markup"
)

// GitExample ...
type GitExample struct {
	markup.Component `class:"cli-handler-registry"`
}

func (inst *GitExample) _Impl() cli.HandlerRegistry {
	return inst
}

// GetHandlers ...
func (inst *GitExample) GetHandlers() []*cli.HandlerRegistration {
	hr := &cli.HandlerRegistration{
		Name:    "go-git-Example",
		Handler: inst.handle,
		Help:    nil,
		OnInit:  nil,
	}
	return []*cli.HandlerRegistration{hr}
}

func (inst *GitExample) handle(t *cli.Task) error {
	return nil
}
